If you need to know the name of a computer but do not have the appropriate login credentials you can still find the name of the PC at the login screen.
Workgroup Computer
On login screen type .\ in the login field, DO NOT hit enter
The computer name will be displayed under the password field
Domain Computer
On login screen, press Ctrl+Alt+Delete and click Other User.
Workgroup Computer
Domain Computer